﻿using System.ComponentModel.DataAnnotations;

namespace WH.Contracts.Systems.Login
{
    /// <summary>
    /// 后台登陆参数实体
    /// </summary>
    public class LinkToInputDto
    {
        /// <summary>
        /// Account
        /// </summary>
        [Required(ErrorMessage = "登录账号不能为空")]
        public string UserAccount { get; set; } = null!;


        /// <summary>
        /// Password
        /// </summary>
        [Required(ErrorMessage = "登录密码不能为空")]
        public string Password { get; set; } = null!;


    }
}